#!/bin/sh
#rm -rf /opt/gitee/spider-flow/spider-flow.log

#这样日志会很大
#/usr/bin/nohup /opt/jdk1.8.0_281/bin/java -jar /opt/gitee/spider-flow/spider-flow.jar >> /opt/gitee/spider-flow/spider-flow.log 2>&1 &

#不写任何输出
#/usr/bin/nohup /opt/jdk1.8.0_281/bin/java -jar /opt/gitee/spider-flow/spider-flow.jar   > /dev/null 2>&1 &

/usr/bin/nohup java -jar -Dfile.encoding=utf8 /opt/gitee/spider-flow/spider-flow.jar   > /dev/null 2>&1 &

netstat -tunpl |grep 8088
lsof -i :8088

currTime=$(date +"%Y-%m-%d %T")
echo $currTime
echo "------done---------"
